package com.bwf.lock;

/**
 * @Version v1.0
 * @Description: TODO
 * @Author ZHANZHONGXIN
 * @Date 2022/5/20 13:47
 * @Copyright 博为峰
 */
public class Test {
    public static void main(String[] args) {
        final Resource reource = new Resource();
        new Thread(new Producer(reource)).start();
        new Thread(new Consumer(reource)).start();
    }
}
